DB_ORM_CONFIG = {
    "connections": {
        "base": {
            'engine': 'tortoise.backends.mysql',
            "credentials": {
                'host': '127.0.0.1',
                'user': 'root',
                'password': '12345678',
                'port': 3306,
                'database': 'market',
            }
        },
        # "db2": {
        #     'engine': 'tortoise.backends.mysql',
        #     "credentials": {
        #         'host': '127.0.0.1',
        #         'user': 'root',
        #         'password': '12345678',
        #         'port': 3306,
        #         'database': 'market',
        #     }
        # },
        # "db3": {
        #     'engine': 'tortoise.backends.mysql',
        #     "credentials": {
        #         'host': '127.0.0.1',
        #         'user': 'root',
        #         'password': '12345678',
        #         'port': 3306,
        #         'database': 'market',
        #     }
        # },

    },
    "apps": {
        "base": {"models": ["models.model_tag", "models.model_group", "models.user_profile", "models.model_sql"],
                 "default_connection": "base"},
        # "db2": {"models": ["models.data_group"], "default_connection": "db2"},
        # "db3": {"models": ["models.data_group"], "default_connection": "db3"}
    },
    'use_tz': False,
    'timezone': 'Asia/Shanghai'
}
